import pandas as pd

predictionFile = "final_prediction.csv"
predictionDf = pd.read_csv(predictionFile)
predictionListDf = predictionDf["contig_name"]
phagcn2RegionFile = "phagcn2_region.xls"
predictionListDf.to_csv(phagcn2RegionFile, sep="\t", header=False, index=False)
